package com.lezhi.socialgram.model.friend;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lezhi.socialgram.annotation.Table;

import javax.validation.constraints.NotNull;

/**
 * Created by daizhen on 2017/4/5.
 */
@Table(prefix = "t_like_me_")
public class LikeMe {

    private String table;

    private Long uid;

    private Long fid;

    private Integer operation;

    private Long createTime;

    private Long score;

    public LikeMe() {
    }

    public LikeMe(String table, Long uid) {
        this.table = table;
        this.uid = uid;
    }

    public LikeMe(String table, Long uid, Long fid) {
        this.table = table;
        this.uid = uid;
        this.fid = fid;
    }

    @JsonIgnore
    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public Integer getOperation() {
        return operation;
    }

    public void setOperation(Integer operation) {
        this.operation = operation;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @JsonIgnore
    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }
}
